﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AmazonGlacierGUI.UI.Infrastructure.MVVMFramework;

namespace AmazonGlacierGUI.UI.ViewModels
{
    //19-Sep-2012 Priyan R
    public class ArchiveSelectSourceViewModel:AppViewModelBase
    {
        public ArchiveSelectSourceViewModel()
        {
            

        }
        public void SelectSource(SourceTypeEnum source)
        {
            Source = source;
            IsSelected = true;
            Close();
        }
        public SourceTypeEnum Source { get; set; }
        public bool IsSelected { get; set; }
        public enum SourceTypeEnum
        {            
            History,
            Inventory,
            ArchiveId
        }
    }
}
